-
Home
-
Add coupon by link / URL coupons / Add coupon by Qr Code for Woocommerce
-
1.1.37
-
Code
-
Classes
- StoreCredit
Total Complexity |
62 |
Dependencies |
1 |
Dependents |
0 |
Total lines |
262 |
Lines of code |
164 |
Logical lines of code |
124 |
Comment lines |
19 |
Methods |
13 |
Properties |
1 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getTotalDiscountGiven() |
A |
47 |
12 |
32 |
getAmount() |
A |
52 |
12 |
21 |
display_remaining_balance_next_to_coupon() |
A |
53 |
8 |
19 |
storeCreditCount() |
S |
56 |
7 |
18 |
getAmountThatCanBeUsed() |
S |
57 |
5 |
17 |
couponDiscountType() |
S |
62 |
6 |
10 |
getCouponUsedInOrders() |
S |
71 |
3 |
5 |
get_instance() |
S |
71 |
2 |
6 |
isCreditCoupon() |
S |
72 |
2 |
5 |
store_credit_meta_box_callback() |
S |
64 |
2 |
9 |
__construct() |
S |
65 |
1 |
8 |
add_store_credit_coupon_type() |
S |
75 |
1 |
4 |
add_store_credit_meta_box() |
S |
65 |
1 |
10 |